package service.test.ehcache.impl;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import service.test.ehcache.EhcacheService;
@Service
public class EhcacheServiceImpl implements EhcacheService {

	@Override
	@Cacheable(value="springCache",key="#test")
	public String test(String test) {
		System.out.println("我进入了改方法");
		return "dddd";
	}

}
